from typing import AnyStr
from requests import Session
from utils.common_sydr import reqMethod

# /topicapi/chapterPractice/front/submit
def submit(uri:AnyStr,data,chapterId,otopicList,session:Session):
    argsPosition = {"body": "str"}
    L=[]
    L.append(chapterId)
    L.append(otopicList)
    return reqMethod(uri, data, session, "post", argsPosition,L)



# /topicapi/tmsExam/front/frontListExamRecord
def frontListExamRecord(uri:AnyStr,data,type,session:Session):
    argsPosition = {"body": "str"}
    L=[]
    L.append(type)
    return reqMethod(uri, data, session, "post", argsPosition,L)